package com.lemon.cloud.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lemon.cloud.comm.po.SysPost;

import java.util.List;

public interface SysPostService extends IService<SysPost> {

    List<SysPost> selectByUserId(Long userId);

    IPage<SysPost> getPostByPage(Page<SysPost> page, SysPost post);

    Boolean delPost(Long id);
}
